package com.bcmusic.order.domain.orders;

import com.bcmusic.order.domain.cart.vo.OrderCartVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName : CreateOrdersVO  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-27 15:10  //时间
 */

@Data
public class CreateOrdersVO implements Serializable {

    @ApiModelProperty(value = "订单id",required = false)
    private Long orderId;//订单id

    @ApiModelProperty(value = "当前用户用户编号",required = false)
    private String userNum;//订单id

    @ApiModelProperty(value = "订单总额。订单总额 = 支付总额 + 优惠总额。",required = false)
    private String orderAmount;//订单总额。订单总额 = 支付总额 + 优惠总额。

    @ApiModelProperty(value = "优惠总额。",required = false)
    private String discountAmount;//优惠总额。

    @ApiModelProperty(value = "支付总额。",required = false)
    private String paymentAmount;//支付总额。

    @ApiModelProperty(value = "对应的商品列表。",required = false)
    private List<OrderCartVO>orderCartList;
}
